<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        /* 函数：是封装一个特定功能的代码块 
        函数不调用就不会执行*/
        function go(x){
            console.log(x)
        }
        go(20)


/*         var go=function(x){
            console.log(x)
        }
        go(20) */

    </script>
</body>
</html>